﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YasharEl.Infrastructure.EntityModel;
using System.Runtime.Serialization;

namespace BneyBaruch.Technology.SourcesRepository
{
    [Serializable]
    public class AuthorNotFoundException : DomainModelException
    {
        public AuthorNotFoundException(long authorId)
            :base(string.Format("Author with identity {0} not found.",authorId))
        {

        }

        protected AuthorNotFoundException(SerializationInfo info, StreamingContext context) :
            base(info, context)
        {
        }
    }
}
